'use strict';

function get_letter_interval(number_a, number_b) {
  let arr=[];
  if(number_a<number_b)
  {
    for(let i=number_a;i<=number_b;i++)
    {
       arr.push(String.fromCharCode(i+96));
    }
  }
  else if(number_a>number_b)
  {
    for(let i=number_a;i>=number_b;i--)
    {
      arr.push(String.fromCharCode(i+96));
    }
  }
  else
  {
    arr.push(String.fromCharCode(number_a+96));

  }
return arr;

  


}

module.exports = get_letter_interval;
